package com.penghaisoft.microwms.base.web.data.service;

import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;

import java.util.List;

import com.penghaisoft.microwms.common.data.model.MdPurchase;

/**
 * <p>
 * 业务接口类
 * </p>
 * 
 * @author
 * @createDate 
 **/
public interface IMdPurchaseService{
	
	public Resp create(MdPurchase mdPurchase);

	public Resp delete(MdPurchase mdPurchase);
	
	public Pager<MdPurchase> findListByCondition(int page, int rows,MdPurchase condition);
	
	public MdPurchase findById(String id);
	
	public Resp update(MdPurchase mdPurchase);
	
	public TransResult queryPurchase();
	
	public boolean existence(MdPurchase mdPurchase);
}
